<?php
get_header();?>
		
<?php get_sidebar(); ?>

<div id="col3">
	<div class="clearfix" id="col3_content">          
		<div id="main_content">
			<div id="main_content_foot">
			<?php
    			$catName = get_cat_name( $_GET['cat'] );
    			$catID = get_cat_ID( $catName );
				 if($catName=='News'){
				 ?>
				 <div class="componentheading_news">
				</div><!-- #componentheading_news -->
                    <div class="contentpane_news">
				 <?php
				  $subcats = get_categories('child_of=15');
				 if($subcats) {
				    foreach( $subcats as $subcat )
				      { $subcatName = $subcat->name; 
				      if($subcatName=='Chap I'){
				 			query_posts('cat='.get_cat_ID( $subcatName ).'&order=ASC');
			?>
						<div class="contentpane_new">
				<?php while (have_posts()) : the_post(); ?>
				    <!-- Do special_cat stuff... -->
				    
				    <span class="title"><a><?php the_title();?></a></span>
			   	<?php the_excerpt(); ?>
				<?php endwhile;?> 
				  		</div><!-- #contentpane_new -->
				<?php }?>
			<?php }?>
			<?php }?>
					</div><!-- #contentpane_news -->
			<?php } ?>
			<?php
				 if($catName=='FAQs'){
				 	query_posts('cat='.$category->cat_ID.'&order=ASC');
			?>
				<div id="contentpaneopen_faq">
                	<?php while (have_posts()) : the_post(); ?>
				    	<!-- Do special_cat stuff... -->
                	<div class="contentheading_faq">				    
				    	<span class="title"><a><?php the_title();?></a></span>
                	</div><!-- #contentheading_faq -->
			   			<?php the_excerpt(); ?>
				  	<?php endwhile;?> 
                </div><!-- #contentpaneopen_faq -->
			<?php } ?>
			</div><!-- #main_content_foot -->					
		</div><!-- #main_content -->

<?php get_footer(); ?>
